﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wekit.Model.Info;
namespace Wekit.Repository.Article
{
    /// <summary>
    /// 文章类别仓库实现类
    /// </summary>
    public class ArticleCategoryRepository:BaseRepository<ArticleCategory>,IArticleCategoryRepository
    {
        /// <summary>
        /// 为一个文章分类实体持久化
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        public ArticleCategory addArticleCategory(ArticleCategory category)
        {
            return add(category,true);
        }


        /// <summary>
        /// 从数据库中删除一个文章分类
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        public bool deleteArticleCategory(ArticleCategory category)
        {
            throw new NotImplementedException();
        }
    }
}
